system.initialize();

InteractorManager.register("label", new zxt.ui.LabelFactory());
InteractorManager.register("text", new zxt.ui.TextboxFactory());
InteractorManager.register("checkbox", new zxt.ui.CheckboxFactory());
InteractorManager.register("radiobox", new zxt.ui.RadioboxFactory());
InteractorManager.register("date", new zxt.ui.DateboxFactory());
InteractorManager.register("ip", new zxt.ui.IPAddrFactory());
InteractorManager.register("select", new zxt.ui.SelectFactory());
InteractorManager.register("choose", new zxt.ui.ChooseFactory());
InteractorManager.register("combobox", new zxt.ui.ComboboxFactory());
InteractorManager.register("cardid", new zxt.ui.CardidboxFactory());

/**
 * <p>
 * 为页面绑定键盘消息处理函数
 * </p>
 * <p>
 * 默认处理Tab键消息来切换页面控件焦点
 * </p>
 * 
 * @private
 * @function
 */
$(document).keydown(
	function(event){
		switch(event.which){
			case 9:	
				event.preventDefault(); 
				event.stopPropagation();
			break;	
		}
		$zxt.onKeyDown(event);
	}
);




